﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Web.admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>登录系统</title>
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <style type="text/css">
	span
	{color:white;}
	body
	{background-image:url(images/loginBg.jpg);background-repeat:no-repeat; }
	.lbwarn span{display:block; float:left; padding-left:16px;color:Yellow;font-size:12px;background-image:url(images/ico-5.png); background-repeat:no-repeat; background-position:left;}
	.intput_txt{width:160px; height:15px;}
</style>
<%--<script type="text/javascript" >
    function ClickImg() {
        var img = document.getElementById("verification");
        img.src = "verification.aspx";
        return false;
    }
</script>--%>
<script type="text/javascript">
    function ClickImg() {
        $("#verification").attr("src", "verification.ashx?time="+Math.random());
        return false;
    }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:540px;height:350px;margin-left:30%;margin-right:24%; margin-top:144px; ">
	<center>
    	<div style="padding-top:100px;">
        	<table>
                <tr>
                    <td><span>用户名:</span></td>
                    <td><input class="intput_txt" type="text" runat="server" id="userName" /></td>
                </tr>
            	<tr>
                    <td><span>密&nbsp;&nbsp;码：</span></td>
                    <td><input  class="intput_txt" type="password" id="password" runat="server"/></td>
                </tr>
                <tr>
                    <td><span>验证码：</span></td><td><input type="text" class="intput_txt" id="checkCode" runat="server"/></td>
                    <td>
                        <a href="#" onclick="ClickImg();return false;">
                            <img src = "verification.ashx" style="border:0px" alt="看不清，换一张" id="verification"  />
                           <%-- <asp:Image ImageUrl="verification.aspx" style="border:0px;" ToolTip="看不清，换一张" ImageAlign="AbsMiddle" runat="server" ID="verification" />--%>
                        </a>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td><label id="lbWarn" runat="server" class="lbwarn"></label></td>
                    <td><asp:Button ID="btn_Save" Text="登录"  runat="server" OnClick="Check" /></td>
                </tr>
            </table>
        </div>
    </center>
</div>
    </form>
</body>
</html>
